package com.travel.service;

import com.travel.dto.HotelDto;
import com.travel.dto.HotelOrderDto;
import com.travel.pojo.Hotel;
import com.baomidou.mybatisplus.extension.service.IService;
import com.travel.vo.HotelVo;
import com.travel.vo.RoomVo;

import java.util.HashMap;
import java.util.List;

/**
* @author 18757
* @description 针对表【hotel(酒店表)】的数据库操作Service
* @createDate 2023-05-09 16:35:04
*/
public interface HotelService extends IService<Hotel> {

    List<HotelVo> selectHotelByName(String keyWord,Integer star,int pageNumber, int pageSize);

    List<RoomVo> selectRoomOfHotel(Integer id);

    RoomVo selectRoomByRoomId(Integer id);

    HotelVo selectHotelByHotelId(Integer id);

    List<HotelVo> selectHotelCondition(HotelDto hotelDto);

    HashMap<String, String> createHotelOrder(HotelOrderDto hotelOrderDto);

    String getOrderId();

    List<HotelVo> selectHotelAll();
}
